#ifndef TURRET_H
#define TURRET_H

#include <vector>
#include "SlowBullet.h"
#include "AoEBullet.h"
#include "Position.h"

#include "Minion.h"


class Turret
{
    public:
        Turret(Position);
        Turret(Position, int);
        void draw();
        void setPos(Position);
        double GetRange();
        void setColor(float, float, float);
        void returnColor();
           Position getPos();
        float width, height, depth;
        bool FireAt(std::vector<Minion>&);
        void SetIndex(int);
        int GetType();
        virtual ~Turret();
    protected:
     Position Pos;
     float colorR, colorG, colorB,holdColorR, holdColorG, holdColorB;
     Bullet bullet;
     SlowBullet slowBullet;
     AoEBullet aoeBullet;
     int turretType;
    private:
        int index;





};

#endif // TURRET_H
